#
# (C) Copyright 2019
# <tang-haifeng@foxmail.com> <pengren.mcu@qq.com>
#
# SPDX-License-Identifier:      GPL-2.0+
#
obj-y	+= common/platform.o
obj-y	+= common/pcie_fixup.o
obj-$(CONFIG_LOONGSON_BOOT_FIXUP) += common/bootparam.o

obj-$(CONFIG_TARGET_LS3A3000_7A1000_EVB) += ls3a3000_7a1000_evb/ls3a3000_7a1000_evb.o
obj-$(CONFIG_TARGET_LS3A3000_7A1000_LS306MB) += ls3a3000_7a1000_ls306mb/ls3a3000_7a1000_ls306mb.o

ifneq ($(findstring $(CONFIG_TARGET_LS3A4000_7A1000_EVB),y),)
obj-y += ls3a4000_7a1000_evb/ls3a4000_7a1000_evb.o
obj-y += common/nct6010.o
endif

obj-$(CONFIG_TARGET_LS3A4000_7A1000_ML4A_MB) += ls3a4000_7a1000_ml4a_mb/ls3a4000_7a1000_ml4a_mb.o

obj-$(CONFIG_TARGET_LS3A4000_7A1000_RB_G605) += ls3a4000_7a1000_rb/ls3a4000_7a1000_rb_g605.o
obj-$(CONFIG_TARGET_LS3A4000_7A1000_RB_G605) += ls3a4000_7a1000_rb/mp2978.o
obj-$(CONFIG_TARGET_LS3A4000_7A1000_RB_G605) += common/nct6010.o

obj-$(CONFIG_TARGET_LS3A4000_7A1000_LT_D4000_V102) += ls3a4000_7a1000_zx/ls3a4000_7a1000_lt_d4000_v102.o
